home *** CD-ROM | disk | FTP | other *** search
- mouseposition = getProperty("/myself", _X);
- hightsposition = getProperty("/hights", _X);
- if(mouseposition >= "400" and - "220" < hightsposition)
- {
- setProperty("/hights", _X, hightsposition - "0.1" * (mouseposition - "400"));
- }
- if(mouseposition < "300" and hightsposition < "1034")
- {
- setProperty("/hights", _X, hightsposition + "0.1" * ("300" - mouseposition));
- }
- coords = mouseposition;
- gotoAndPlay(3);
-